<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
          
      xmlns:p="http://primefaces.org/ui">
    <ui:composition>
        <aside>
            <h:panelGrid columns="1" rendered="#{loginBean.logged == 1}">  
                <h:link outcome="cart.jsf">
                    <p:graphicImage styleClass="icons" url="/resources/media/images/cart.png"/>   
                <h4><h:outputText value="#{msg.cart}"/></h4>
                </h:link>
                <h:dataTable id="company" var="offer" value="#{cartBean.ofertasCart}" styleClass="none">
                    <h:column>
                        <h5>
                            - #{offer.nombre} <span class="bordenegro">x #{offer.unidades}</span>
                        </h5>                    
                    </h:column>                    
                </h:dataTable>  
            </h:panelGrid>
        </aside>
    </ui:composition>
</html>